package com.zdkj.admin.api.dto;/**
 * @author 陈博
 * @date 2020/5/13 0013 9:52
 */

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;

import java.io.Serializable;

/**
 * @program: zdkj
 *
 * @description: 通知入参
 *
 * @author: chen
 *
 * @create: 2020-05-13 09:52
 **/
@Data
public class NoticeDto implements Serializable {
    /**
     * 发送人工号
     */
    @ApiModelProperty(value="发送人工号",notes = "传入当前调用人的usercode",required = true)
    private String sendUserCode;
    /**
     * 接收人工号
     */
    @ApiModelProperty(value="接收人工号",notes = "假如是一对一发送，此字段必传")
    private String receiveUserCode;
    /**
     * 系统消息:1 业务通知:2
     */
    @ApiModelProperty(value="系统消息:1 业务通知:2 ",notes = "暂时划分系统，业务",required = true)
    private String type;
    /**
     * 业务主题
     */
    @ApiModelProperty(value="业务主题",notes = "通知消息的主题描述",required = true)
    private String businessTopic;
    /**
     * 读取状态 0：未读 1：已读
     */
    @Value("0")
    @ApiModelProperty(value="读取状态 0：未读 1：已读",hidden = true)
    private String isRead;
    /**
     * 消息组类别 1:部门ids2:线路codes 3:站点codes 4:角色ids
     */
    @ApiModelProperty(value="消息组类别",notes = "0:一对一1:部门ids2:线路codes 3:站点codes 4:角色ids",required = true)
    private String groupType;

    /**
     * 群发消息组使用","分隔
     */
    @ApiModelProperty(value="群发消息组使用\",\"分隔",notes = "groupType非0则必传")
    private String groups;

    /**
     * 消息内容
     */
    @ApiModelProperty(value="消息内容",required = true)
    private String content;

}
